# $Id: PKGBUILD 140667 2011-10-17 23:02:09Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>

pkgname=srcpac
pkgver=0.10.9
pkgrel=1
pkgdesc="The pacman from-source wrapper"
arch=('any')
url="http://projects.archlinux.org/srcpac.git/"
license=('GPL')
depends=('pacman' 'abs')
optdepends=('sudo')
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('4fec96af4bbd4f773446b05970e2375a')

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
